// 得到今天，格式2020-08-21
export function getToday(){
	let now = new Date();
	let year = now.getFullYear();       //年
	let month = now.getMonth() + 1;     //月
	let day = now.getDate();            //日
	let clock = year + "-";       
	if(month < 10)
		clock += "0";       
	clock += month + "-";       
	if(day < 10)
		clock += "0";        
	clock += day + " ";       
	return(clock);
}